<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>너랑 나랑</title>
<link rel="stylesheet" href="./css/style.css"/>
<script type="text/javascript" src="./js/main.js"></script>
<META NAME="Viewport" CONTENT="width=device-width"/>
</head>
<body class="body">
	<%
		request.setCharacterEncoding("utf-8");
		String page_set = request.getParameter("page_set");
		String side_login = request.getParameter("side_login");
		String member_list = request.getParameter("member_list");
		if(side_login == null){
			side_login = "./member/login.jsp";
		}
		if(page_set == null){
			page_set = "./null_page.jsp";
			//page_set = "./member/login.jsp";
		}
		if(member_list == null){ 
			member_list = "./null_page2.jsp";
			//member_list = "./member/login.jsp";
		}
	%>
	
	<div id="title">
		<%@include file = "title.jsp" %>
	</div>

	<div id="main_content">
		<jsp:include page="<%=page_set %>"></jsp:include>
	</div>
	
	<div id= "sidebar_login">
		<jsp:include page="<%=side_login %>"></jsp:include>
	</div>
	
	<div id= "sidebar_content">
		<jsp:include page="<%=member_list %>"></jsp:include>
	</div>
	
	<div id="main_footer">
		<%@include file = "footer.jsp" %>
	</div>
</body>
</html>